<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>登陆</title>
<base href="http://localhost:8080/Login3/">
<link rel="stylesheet"
	href="https://fonts.googleapis.com/css?family=Open+Sans:300,400">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/materialize.min.css">
<link rel="stylesheet" href="css/tooplate.css">
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>
<script type="text/javascript" src="js/login.js"></script>
</head>

<body id="login">
	<div class="container">
		<div class="row tm-register-row tm-mb-35">
			<div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 tm-login-l"
				id="login-form-div">
				<form action="LoginServlet" method="post"
					class="tm-bg-black p-5 h-100">
					<div class="input-field">
						<input placeholder="用户名" id="username" name="username" type="text"
							class="validate"><span style="color: red" id="message"><%=request.getAttribute("msg") == null ? "" : request.getAttribute("msg")%></span>
					</div>
					<div class="input-field mb-5">
						<input placeholder="密码" id="password" name="password"
							type="password" class="validate"><span style="color: red" id="message2"></span>
					</div>
					<div class="tm-flex-lr">
						<a href="pages/reset_password.jsp" class="white-text small" style="font-size: 16px">忘记密码？</a>
						<button type="submit"
							class="waves-effect btn-large btn-large-white px-4 black-text"
							style="font-size: 20px" id="login_btn">登&nbsp;&nbsp;&nbsp;&nbsp;陆</button>
					</div>
				</form>
			</div>
		</div>
		<div class="row">
			<div
				class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 ml-auto mr-0 text-center">
				<a href="pages/signup.jsp"
					class="waves-effect btn-large btn-large-white px-4 black-text">创&nbsp;&nbsp;&nbsp;&nbsp;建</a>
			</div>
		</div>
		<footer class="row tm-mt-big mb-3">
		<div class="col-xl-12 text-center">
			<p class="d-inline-block tm-bg-black white-text py-2 tm-px-5">
				Copyright &copy; 2020 chen chuanfu</p>
		</div>
		</footer>
	</div>
</body>

</html>



